<!--{inc(header.view.html)}-->


<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                                 <li><a href="#" class="nav_icon" target="mainframe">附件管理</a></li>
	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>附件管理</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>



<style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
                                   
                                   
                                   

<div class="search_box">
<div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle">
当前目录:{$this_path}

</div>

<div class="r">
<a href="?app=files&act=index&v={$up_path}"  target="mainframe">返回上一目录</a>
</div>

</div>


<div class="clear"></div>

     

     
<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>
<tr>
	<td class="bold" width="40px" align="center" >ID</td>

	
	<td class="bold" width="50%">路径</td>


</tr>


<?php foreach($lang_db as $_key => $_value ) { ?>
<tr  onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td  align="center" width="50px">
	{$_key}

	</td>
	


   	<td class="bold" width="50%"><img src="{$site_url}/<?php echo $_value['icon'];?>" />
<?php if ($_value['type']=='file') { ?>

    <a href="<?php echo SITE_URL;?>/<?php echo $_value['path'];?>"  target="mainframe"><?php echo $_value['path'];?></a><br/><br/>
    [<a href="?app=files&act=del&v=<?php echo $_value['path'];?>"  target="mainframe">删除文件</a>]    
    
<?php } elseif ($_value['type']=='dir') { ?>
    <a href="?app=files&act=index&v=<?php echo $_value['path'];?>"  target="mainframe"><?php echo $_value['path'];?></a>
<?php } ?>

    
    </td>     




</tr>

<?php } ?>


</tbody>
</table>

                 </div>

</div>



<!--{inc(footer.view.html)}-->